package com.mankind.ssm.service;

import com.mankind.ssm.pojo.User;
import com.mankind.ssm.pojo.UserInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Mankind on 2017/7/10.
 */
public interface UserService {

    /**
     * 查找所有用户
     * @return
     * @throws Exception
     */
    public User findUser()throws Exception;
    public Integer loginCheck(User user);
    public Integer register(User user);
    public Boolean existJudge(String account);
    public void registerDetail(UserInfo userInfo);
    public void deleteById(Integer id);
}